package com.itheima.mypack01;

public class Test01 {
    public static void main(String[] args) {
        Student s1 = new Student("乔峰", 18);
        Student s2 = new Student("段誉", 20);
        Student s3 = new Student();
        s1.room = "南宋";

        System.out.println(s1.getName() + " " + s1.getAge() + " " + s1.room + " " + s1.getId());
        System.out.println(s2.getName() + " " + s2.getAge() + " " + s2.room + " " + s2.getId());
        System.out.println(s3.room + " " + s3.getId());
    }
}
